Window: Do not connect to NULL screen in init()
authorDaniel Boles <dboles@src.gnome.org>
Thu, 31 Aug 2017 19:19:58 +0000 (20:19 +0100)
committerDaniel Boles <dboles@src.gnome.org>
Thu, 31 Aug 2017 19:26:44 +0000 (20:26 +0100)
commit6984d0847b7e70bc7108c7b298bab1c85e708f7c
tree143baa43a8ad9235e08b2795255d3298ba881864
parent660917377962ed8de12ccccfb84959d68c80df63
Window: Do not connect to NULL screen in init()

Do not connect to get_settings_for_screen() if we have no screen…

Use g_signal_connect(), not connect_object(), to match how set_screen()
makes this same connection, and how finalize() already disconnects it.

https://bugzilla.gnome.org/show_bug.cgi?id=705640
gtk/gtkwindow.c